
class Profile {
    String  serverUrl="http://tongai-app.jeemoo.com/tongai-app-java";
    String  token;
    int  userTypeEnum;
    String phone;

    Profile.fromJson(Map<String, dynamic> x)
        : serverUrl = x['serverUrl'],
          userTypeEnum = x['userTypeEnum'],
          phone = x['phone'],
          token = x['token'];

    Map<String, dynamic> toJson() =>
        {
            'serverUrl': serverUrl,
            'userTypeEnum': userTypeEnum,
            'token': token,
            'phone': phone,
        };
    Profile();

}